package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\getRecord.xlsx")
public class CardGetRecordWorkbook {
	@ExcelSheet
	@JsonProperty("悦卡获取记录表")
	private List<CardGetRecordRow> cardGet;

	public static class CardGetRecordRow {

		@JsonProperty("单位名称")
		private String companyName;

		@JsonProperty("手机号")
		private String mobile;

		@JsonProperty("姓名")
		private String employeesName;

		@JsonProperty("悦卡名称")
		private String spuTitle;

		@JsonProperty("卡号")
		private String cardNo;

		@JsonProperty("悦卡面值")
		private BigDecimal amount;

		@JsonProperty("购买金额")
		private BigDecimal payFee;

		@JsonProperty("余额")
		private BigDecimal remain;

		@JsonProperty("时间")
		private LocalDateTime createdTime;

		@JsonProperty("类型")
		private String type;

		public String getCompanyName() {
			return companyName;
		}

		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getEmployeesName() {
			return employeesName;
		}

		public void setEmployeesName(String employeesName) {
			this.employeesName = employeesName;
		}

		public String getSpuTitle() {
			return spuTitle;
		}

		public void setSpuTitle(String spuTitle) {
			this.spuTitle = spuTitle;
		}

		public BigDecimal getAmount() {
			return amount;
		}

		public void setAmount(BigDecimal amount) {
			this.amount = amount;
		}

		public String getCardNo() {
			return cardNo;
		}

		public void setCardNo(String cardNo) {
			this.cardNo = cardNo;
		}

		public BigDecimal getPayFee() {
			return payFee;
		}

		public void setPayFee(BigDecimal payFee) {
			this.payFee = payFee;
		}

		public BigDecimal getRemain() {
			return remain;
		}

		public void setRemain(BigDecimal remain) {
			this.remain = remain;
		}

		public LocalDateTime getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(LocalDateTime createdTime) {
			this.createdTime = createdTime;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}
	}

	public List<CardGetRecordRow> getCardGet() {
		return cardGet;
	}

	public void setCardGet(List<CardGetRecordRow> cardGet) {
		this.cardGet = cardGet;
	}
}
